package com.ruoyi.health.report.mapper;

import com.ruoyi.health.report.domain.zkxc.ZkxcPushDataEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ChenYF
 * @date 2025-09-03 16:59
 */
public interface ZkxcPushDataMapper {

    /**
     * 新增四诊仪上传数据详情
     *
     * @param entity 四诊仪上传数据详情
     * @return 结果
     */
    int insertZkxcPushDataEntity(ZkxcPushDataEntity entity);

    ZkxcPushDataEntity selectZkxcPushDataById(@Param("id") Long id, @Param("customerId") Long customerId);

    /**
     * 条件查询
     *
     * @param zkxcPushDataEntity 查询参数
     * @return 结果
     */
    List<ZkxcPushDataEntity> selectZkxcPushDataByParam(ZkxcPushDataEntity zkxcPushDataEntity);

    ZkxcPushDataEntity selectZkxcPushDataByReportId(Long reportId);

    String getReportUrlByReportId(Long reportId);
}
